//
//  Boss.cpp
//  Staff management
//
//  Created by ryu on 2021/8/22.
//

#include "boss.hpp"
#include <iostream>
using namespace  std;
Boss::Boss(int id, int dp_id, string name){
    this->id = id;
    this->dp_id = dp_id;
    this->name = name;
};

string Boss::getDeptName(){
    return "管理公司所有事务";
};
void Boss::showInfo(){
    cout
    <<"员工ID： "
    <<this->id
    <<",员工部门ID： "
    <<this->dp_id
    <<"员工姓名： "
    <<this->name
    <<this->getDeptName()
    <<endl;
};
